package com.smart.common.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "mobile-util")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MobileUnitConfig {
    @Value("${mobile-util.baseUrl}")
    private String baseUrl;

    @Value("${mobile-util.loginUrl}")
    private String loginUrl;

    @Value("${mobile-util.account}")
    private String account;

    @Value("${mobile-util.password}")
    private String password;

    @Value("${mobile-util.videoUrl}")
    private String videoUrl;

    @Value("${mobile-util.locationUrl}")
    private String locationUrl;

    @Value("${mobile-util.isOnlineUrl}")
    private String isOnlineUrl;

    @Value("${mobile-util.mileageStatementUrl}")
    private String mileageStatementUrl;

    @Value("${mobile-util.carInfoDetailsUrl}")
    private String carInfoDetailsUrl;
}
